package cn.itcast.hotel.constants;

/**
 * RabbitMQ：常量类
 */
public class MqConstants {
    /**
     * 1.交换机
     */
    public final static String HOTEL_TPOIC_EXCHANGE = "hotel.topic.exchange";

    /**
     * 2-1.监听新增和修改的队列
     */
    public final static String HOTEL_INSERT_QUEUE = "hotel.insert.queue";
    /**
     * 2-2.监听删除的队列
     */
    public final static String HOTEL_DELETE_QUEUE = "hotel.delete.queue";

    /**
     * 3-1.新增或修改的RoutingKey
     */
    public final static String HOTEL_INSERT_KEY = "hotel.insert";
    /**
     * 3-2.删除的RoutingKey
     */
    public final static String HOTEL_DELETE_KEY = "hotel.delete";
}
